﻿using System;
using System.Collections.Generic;
using System.Text;
using T.FAS.Runtime.Metadata.Entity.ScheduleJob;

namespace T.FAS.Runtime.ScheduleJob.Dao
{
    public interface IScheduleJobDao
    {
        List<Metadata.Entity.ScheduleJob.ScheduleJob> GetScheduleJobByFilter(Dictionary<string, string> filter);
        Metadata.Entity.ScheduleJob.ScheduleJob GetScheduleJobByID(string sJobID);
        void AddScheduleJob(Metadata.Entity.ScheduleJob.ScheduleJob sJob);
        void UpdateScheduleJob(Metadata.Entity.ScheduleJob.ScheduleJob sJob);
        void DeleteScheduleJob(string sJobID);
        int CheckUnique(Dictionary<string, string> filter);
    }
}
